Skip to content

feat(ui): introduce v3.0.0 default iOS glass theme, hover intensity slider, and rounded UI - #97

Merged
mlgitdev merged 2 commits into
mainfrom
major/ios-glass-theme-96
Dec 4, 2026
Merged

mlgitdev merged 2 commits into
mainfrom
major/ios-glass-theme-96

Conversation

@mlgitdev

@mlgitdev mlgitdev commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves #96

Introduces NewsAlerts v3.0.0 (MAJOR) featuring a default iOS Frosted Glass institutional theme (ui.theme = "glass", ui.glass_intensity = 65), unified rounded geometry across panes, controls, badges, and icons, a compact topbar percentage trigger (#btn-glass-theme) with a hover/wheel/click floating intensity popover (#glass-popover), instant 1-click switching back to classic Standard mode, atomic state persistence, and full web/tape.html parity—with 100% backwards compatibility for existing config.json files.

Motivation / Context

Provides a fresh, modern iOS-inspired frosted glass interface while preserving zero-bloat Vanilla CSS/JS performance, high-density trading legibility (strict opacity floor — never full transparency), and zero fragile OS window transparency dependencies across Windows, macOS, and Linux.

Changes

Resolves #96

  • Config & Persistence (app/config.py):
    • Added ui.theme ("glass" default | "standard") and ui.glass_intensity (0–100, default 65) to DEFAULT_CONFIG["ui"] with safe clamping/validation in _merge() so upgrading users cleanly receive the new default without losing any existing settings.
  • Shared Theme Engine & Sibling Parity (web/js/util.js, web/index.html, web/tape.html):
    • Added App.applyTheme(ui) in web/js/util.js enforcing the strictly bounded readability floor (surface alpha >= 0.60, blur 6px–20px) and synchronized ?v=13 cache-buster versions and live config theme updates across both web/index.html and detached web/tape.html.
  • Compact Topbar Hover Popover & Settings Controls (web/js/app.js, web/js/settings.js, web/css/app.css):
    • Added compact #btn-glass-theme pill in #topbar-track showing only the droplet icon + percentage (65%, or Std in Standard mode) to save topbar width.
    • Added fixed floating #glass-popover (attached to document.body so #topbar-track overflow never clips it) opening on hover, wheel-scroll (±5% intensity steps), focus, or click with iOS Glass / Standard toggle and 0%–100% intensity slider.
    • Added Window & Appearance theme & intensity controls in Settings → General with live preview and clean rollback on Cancel.
    • Styled body.theme-glass with frosted panes, specular hairline borders, unified rounded geometry across surfaces/controls/icons, and zero per-row backdrop-filter (protecting 3,000-row & 4K scroll performance).
  • Versioning, Specification & Release Docs (VERSION, docs/SPEC.md, docs/RELEASES.md, docs/releases/v3.0.0.md, docs/wiki/):
    • Bumped root VERSION to 3.0.0 (MAJOR), synchronized docs/wiki/_Footer.md, ran spec-sync on docs/SPEC.md, authored docs/releases/v3.0.0.md, and updated docs/RELEASES.md and docs/wiki/Configuration-&-Secrets-Guide.md.
  • Tests (tests/test_theme.py):
    • Added test-first regression suite verifying defaults, legacy config upgrades, clamping, disk round-trip persistence, 3.0.0 lockstep, shared App.applyTheme, #btn-glass-theme/#glass-popover, ?v=13 parity, no per-row backdrop-filter, and docs/SPEC.md contracts.

Verification & Testing

  • .venv\Scripts\python.exe -m compileall -q app run_app.py: passed.
  • .venv\Scripts\python.exe -m unittest discover -s tests -p "test_*.py": 124/124 tests passed (1.064s).
  • Live Browser ui-qa-pass (isolated temp NEWSALERTS_DIR server):
    • 1600x900: Default boot in theme-glass (v3.0.0, compact 63px #btn-glass-theme at 65%), hover opens #glass-popover unclipped below trigger, wheel-scroll increments 65% → 80%, Standard & iOS Glass switching persists across full reloads, Settings live preview & Cancel rollback verified.
    • 1920x1080, 820x900, 640x520: Zero clipping/overlap, topbar overflow arrows work cleanly inside rounded glass topbar.
    • Detached web/tape.html (1280x720): v3.0.0, theme-glass, fits cleanly inside viewport.
    • Console errors: 0 across all viewports and flows.
  • Portable Build & Verification Gate: .\build.ps1 -Task build and .\build.ps1 -Task verify-packages passed (NewsAlerts.exe v3.0.0, 15.1 MB, valid Win32 PE header, zero secrets).

Checklist

  • Issue feat(ui): add default iOS glass theme with adjustable intensity, rounded UI, and standard mode toggle #96 created and linked (Resolves #96)
  • Developed test-first in isolated git worktree (.worktrees/major-ios-glass-theme-96)
  • VERSION bumped to 3.0.0, docs/SPEC.md synced (spec-sync), release notes & wiki updated
  • web/index.html and web/tape.html sibling parity verified
  • Live integrated-browser ui-qa-pass passed with 0 console errors and 0 overlaps
  • Portable .exe built and verified (verify-packages)
  • Full unit test suite passes locally and Multi-OS PR CI verified

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

✅ PR Validation Passed

  • Conventional Commit title syntax
  • Required template sections present
  • Security audit ready

Ready for review by @mlgitdev!

@mlgitdev
mlgitdev merged commit a6f848b into main Dec 4, 2026
6 checks passed
@mlgitdev
mlgitdev deleted the major/ios-glass-theme-96 branch December 4, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ui): add default iOS glass theme with adjustable intensity, rounded UI, and standard mode toggle

1 participant